package com.badger.spring.cloud.alibaba.consumer.config;

import java.util.concurrent.TimeUnit;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import feign.Request;

@Configuration
public class FeignConfig {

    @Bean
    Request.Options feignOptions() {
        return new Request.Options(10, TimeUnit.SECONDS, 300, TimeUnit.SECONDS, true);
    }

}